package cn.supermarket.pojo.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class AddSupplierDTO implements Serializable {

    //姓名
    @NotNull(message = "姓名不可为空!")
    private String name;
    //头像
    private String avatar;
    //住址
    private String address;
    //电子邮箱
    @NotNull(message = "邮箱不可为空!")
    private String email;
    //供货种类
    private String articleType;
    //电话
    @NotNull(message = "电话不能为空!")
    private String tel;
    //开户行
    private String depositBank;
    //银行账号
    private Long bankAccount;
    //操作人
    @NotNull(message = "操作人不可为空!")
    private String operator;
    //备注
    private String remark;
}
